package com.youpingou.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;


@Data
@TableName(value = "tb_sku_photo")
public class SkuPhoto {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * SPUID
     */
    @TableField(value = "sku_id")
    @JsonProperty("sku_id")
    private Integer skuId;

    /**
     * 原图路径
     */
    @TableField(value = "url")
    @JsonProperty("url")
    private String url;
}